package me.helllp.dake.iam.core.auth;

import me.helllp.dake.iam.core.bean.DakeAuthTicket;

/**
 * IP黑名单过滤器
 */
public class IpAuthFilter implements AuthFilter {
    @Override
    public boolean doFilter(DakeAuthTicket authTicket) {
        String clientIp = authTicket.getClientIp();
        // TODO 验证IP是否为黑名单
        return true;
    }

    @Override
    public void postFilter(DakeAuthTicket authTicket) {

    }

}
